package org.itboys.trade.entity.mysql;

import java.util.Date;

/**
 * @author 
 *
 */

public class UserWithdrawRecord {
	private static final long serialVersionUID = -9168607920527850600L;
	public static final Integer commission=1;
	public static final Integer withdraw=2;
	private Long id;
	private Long userId;  
	private Double income;//收入
	private Double expenditure;//支出
	private Integer tradeType;//预留
	private Date createTime;
	private Long orderId;
	private Integer orderType;
	public UserWithdrawRecord() {
		super();
	}
	/**
	 * 
	 * @param userId
	 * @param income
	 * @param expenditure
	 * @param orderId
	 */
	public UserWithdrawRecord(Long userId, Double income, Double expenditure, Long orderId,Integer orderType) {
		super();
		this.userId = userId;
		this.income = income;
		this.expenditure = expenditure;
		this.orderId = orderId;
		this.orderType=orderType;
	}
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public Double getIncome() {
		return income;
	}
	public void setIncome(Double income) {
		this.income = income;
	}
	public Double getExpenditure() {
		return expenditure;
	}
	public void setExpenditure(Double expenditure) {
		this.expenditure = expenditure;
	}
	public Integer getTradeType() {
		return tradeType;
	}
	public void setTradeType(Integer tradeType) {
		this.tradeType = tradeType;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Long getOrderId() {
		return orderId;
	}
	public void setOrderId(Long orderId) {
		this.orderId = orderId;
	}
	public Integer getOrderType() {
		return orderType;
	}
	public void setOrderType(Integer orderType) {
		this.orderType = orderType;
	}
	
}
